package com.providerticket.repository;

import com.providerticket.entity.SysUserEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author Dylan Yang
 * @Title: SysUserRep
 * @ProjectName demo
 * @Description: TODO
 * @date 2018/10/116:53
 */
@Repository
public interface SysUserRep extends JpaRepository<SysUserEntity,String> {

    /**
     *  根据名字进行查询
     */
    SysUserEntity findByUserName(String userName);

}

